<?php
require(dirname(__FILE__)."/"."global.php");
if(!$lfjuid)
	showerr("请您先登录我们的网站!");
if($step == 1) {
	$db->query("UPDATE h_memberdata SET
					basic_info='$basic_info',
					trade='$trade',
					scale='$scale',
					com_property=$com_property,
					create_time='$create_time',
					jingying_yetai='$jingying_yetai',
					jingying_moshi='$jingying_moshi',
					is_software='$is_software',
					pc_count='$pc_count',
					is_fuwuqi='$is_fuwuqi',
					it_count='$it_count',
					com_faren='$com_faren',
					faren_phone='$faren_phone',
					faren_email='$faren_email',
					site_add='$site_add',
					a_area='$a_area',
					b_area='$b_area',
					address='$address',
					mobphone='$mobphone',
					contacter='$contacter',
					email='$email',
					note='$note'		
					 	where uid=$lfjuid");
}

$userinfo;
$query = $db->query("SELECT * FROM h_memberdata WHERE uid=$lfjuid");
while($rs = $db->fetch_array($query)){
	$userinfo=$rs;
}

// 已选规模
$s = $userinfo['scale'];
$scaleS[$s] = " selected ";
// 已选性质
$p = $userinfo['com_property'];
$property[$p] = " selected ";
// 已选经营业态
$jy = $userinfo['jingying_yetai'];
$yetai[$jy] = " checked ";
// 已选经营模式
$ms = $userinfo['jingying_moshi'];
$moshi[$ms] = " checked ";
// 已选使用软件
$is = $userinfo['is_software'];
$is_softwareS[$is] = " checked ";
// 已选拥有服务器
$if = $userinfo['is_fuwuqi'];
$is_fuwuqiS[$if] = " checked ";

require(ROOT_PATH."inc/head.php");
require(html("homepage"));
require(ROOT_PATH."inc/foot.php");